﻿namespace XRepair.Models
{
    using System.ComponentModel.DataAnnotations;
    using XRepair.Conventions.Enum;

    public class Service
    {
        public int? ID { get; set; }
        
        [Required]
        public DeviceTypes DeviceTypeID { get; set; }

        [Required]
        public int SymptomTypeID { get; set; }

        [Required]
        public string ServiceName { get; set; }
        
        public string ServiceDescription { get; set; }

        public double LaborCost { get; set; }

        public double DiscountLabor { get; set; }

        public double PartCost { get; set; }

        public double DiscountPart { get; set; }

        public bool IsActive { get; set; }
    }
}
